package com.wego.service;

import com.wego.common.base.BaseService;
import com.wego.common.bean.PageBean;
import com.wego.entity.domain.OrderItem;
import com.wego.entity.query.OrderItemQuery;

import java.util.List;

public interface OrderItemService extends BaseService<OrderItem> {

    /**
     * 分页查找
     *
     * @param orderItemQuery
     * @return
     */
    PageBean<OrderItem> selectPage(OrderItemQuery orderItemQuery);

    /**
     * 查询指定订单的订单项
     * @param orderId
     * @return
     */
    List<OrderItem> selectOrderItemByOrderId(Long orderId);

}
